KISSY.ready(function(){
    var S=KISSY,DOM=S.DOM,Event=S.Event;
    Event.on(".brandNow-item","mouseenter",function(){
        DOM.addClass(DOM.get(".pic-normal",this),"hidden")
        DOM.removeClass(DOM.get(".pic-hover",this),"hidden")
    })
    Event.on(".brandNow-item","mouseleave",function(){
        DOM.removeClass(DOM.get(".pic-normal",this),"hidden")
        DOM.addClass(DOM.get(".pic-hover",this),"hidden")
    });
});
KISSY.use("datalazyload,switchable", function(S,_,Switchable) {
    var Tabs = Switchable.Tabs;
    S.ready(function(S) {
        //通过DOM元素demo2新那一个Tab
        var tabs = new Tabs('.brandLater-content', {
            switchTo : 0
        });
        //增加事件，更多事件请查看API
        tabs.on('beforeSwitch', function(ev) {
            var index = ev.toIndex;
            if(index !== 0 && index !== 4) { 
            }
        });
    });
});